<?php

/**
* @current cmsrole.php
* @author   Caoqicheng <caoqicheng@haibao.com>
* @date 2017年2月22日 下午17:41:03
*/
namespace haibao\jiepai\model\data\user;

class CmsRole extends \haibao\jiepai\model\data\Base{
	/**
	 * 删除时置为-1，默认是0
	 * 是否是删除
	 */
	const FLAG_IS = 0;
	const FLAG_DEL = -1;
	
	
    public $Name;
 
    public $Type;
    
    public $CreateTime;
    
    public function __construct(){
        parent::__construct();
        $this->setColumnName('Id', 'RoleID');
        
        $this->stringField('Name', 'Name',true);
        $this->intField('Type', 'Type');
        $this->dateField('CreateTime', 'CreateTime');

        $this->setTableName('cms_reports');
    }
}

